import request from '../utils/request'

export default function upload(data: FormData) {
  return request<string>({
    url: '/upload/file',
    method: 'POST',
    requestType: 'blob',
    data
  })
}
